package us.oh.k12.wkw.robot.command;

import edu.wpi.first.wpilibj.command.WaitCommand;

//Max - CMD group currently not working
public class LauncherFireCmd extends CommandGroupBase {

	public LauncherFireCmd() {

		super("LauncherFireCmd");

                try {
		
		this.addSequential(new LauncherMotorStartCmd());
                /*Max - added turnOnAngleHold / stopChangingAngle 
                *methods to launcher start and stop cmds
                */

		this.addSequential(new WaitCommand(3));
		this.addSequential(new LauncherPlungerRetractCmd());
                this.addSequential(new WaitCommand(.2));
                this.addSequential(new LauncherPlungerFireCmd());
                this.addSequential(new LauncherFeedFrisbeeCmd());
                
                
		this.addSequential(new LauncherMotorStopCmd());
                

	}   catch (Exception anEx) {
			this.error("SpinCmd()", anEx);
		}
        }
}



